import { Injectable } from '@nestjs/common';
import { TreadstoneClient } from 'treadstone-nest-client';

@Injectable()
export class TreadstoneService extends TreadstoneClient {
  constructor() {
    super({
      baseURL: process.env.TREADSTONE_SERVER_URL,
      appId: process.env.TREADSTONE_APP_ID,
      appSecret: process.env.TREADSTONE_APP_SECRET,
    });
  }
}
